<template>
	<view class="user_card">
		<view class="top">
			<view class="left">
				<view class="name">Lee Yan</view>
				<view class="job_title">支付宝  高级UI设计师</view>
				<view class="price">
					<text class="car_title">UI设计师10年</text>
					<text>¥3000/8h</text>
				</view>
			</view>
			<view class="right">
				<image src="" mode="" class="avatar" @tap="toPage('/pages/User/index')"></image>
				<view class="status">刚刚活跃</view>
			</view>
		</view>
		<view class="works">
			<text class="car_title">作品</text>
			<text>有道词典,支付宝主页,百宝箱项目</text>
		</view>
		<view class="skill">
			<text class="car_title">技能</text>
			<view class="tags">
				<text>Sketch</text>
				<text>Axure</text>
				<text>墨刀</text>
				<text>Sketch</text>
				<text>Axure</text>
				<text>墨刀</text>
				<text>Photoshop</text>
				<text>IIIustrator</text>
			</view>
		</view>
		<view class="foot_car">
			<view class="item">
				<text class="car_title">服务企业</text>
				<text>87</text>
			</view>
			<view class="item">
				<text class="car_title">累计工时</text>
				<text>100</text>
			</view>
			<view class="item">
				<text class="car_title">好评率</text>
				<text>100%</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components:{
			
		},
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		methods: {
			
			// 跳转
			toPage(url){
				uni.navigateTo({
				    url: url
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.user_card{
		background-color: #ffffff;
		padding: 20rpx 20rpx 14rpx 20rpx;
		border-radius: 8px;
		margin-bottom: 20rpx;
		.top{
			display: flex;
			justify-content: space-between;
			align-items: flex-start;
			.left{
				width: calc(100% - 100rpx);
				.name{
					font-size: 32rpx;
					font-weight: 600;
					color: #333333;
					line-height: 34rpx;
				}
				.job_title{
					font-size: 24rpx;
					font-weight: 400;
					color: #333333;
					line-height: 34rpx;
					padding-left: 42rpx;
					margin-top: 22rpx;
					background: url(../static/image/ico/renzheng.png)left center no-repeat;
					background-size: 30rpx 30rpx;
				}
				.price{
					margin-top: 26rpx;
					text:last-child{
						font-size: 24rpx;
						font-weight: 400;
						color: #4A90E2;
						line-height: 34rpx;
						margin-left: 10rpx;
						padding-left: 20rpx;
						border-left: 1px solid #E6E6E6;
					}
				}
				
			}
			.right{
				.avatar{
					width: 90rpx;
					height: 90rpx;
					border-radius: 50%;
					border: 1px solid #f5f5f5;
				}
				.status{
					font-size: 24rpx;
					font-weight: 400;
					color: #888888;
					line-height: 34rpx;
				}
			}
		}
		.works{
			margin-top: 20rpx;
			.car_title{
				width: 50rpx;
			}
			text:last-child{
				width: calc(100% - 60rpx);
				font-size: 24rpx;
				color: #333333;
				line-height: 34rpx;
			}
		}
		.skill{
			display: flex;
			align-items: flex-start;
			margin-top: 20rpx;
			.car_title{
				width: 50rpx;
				padding: 5rpx 0;
			}
			.tags{
				width: calc(100% - 60rpx);
				text{
					padding: 5rpx 10rpx;
					background: #F9F9F9;
					border-radius: 8rpx;
					font-size: 24rpx;
					font-weight: 400;
					color: #333333;
					line-height: 34rpx;
					margin-right: 12rpx;
					margin-bottom: 10rpx;
					display: inline-block;
				}
			}
		}
		.car_title{
			font-size: 24rpx;
			color: #888888;
			line-height: 34rpx;
			margin-right: 10rpx;
		}
		.foot_car{
			margin-top: 18rpx;
			border-top: 1px solid #e6e6e6;
			padding-top: 14rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}
	}
	
</style>
